Minor fixup git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@107022 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Makefile b/Makefile index b5c2e4c..1e8418e 100644 --- a/Makefile +++ b/Makefile
@@ -7,7 +7,7 @@ OBJROOT=. SYMROOT=. -TRIPLE=-apple- +export TRIPLE=-apple- installsrc:: $(SRCROOT) @@ -21,10 +21,12 @@ installhdrs:: mkdir -p $(DSTROOT)/usr/include/c++/v1/ext - cp -r $(SRCDIRS)/include/* $(DSTROOT)/usr/include/c++/v1/ + rsync -r --exclude=".*" $(SRCDIRS)/include/* $(DSTROOT)/usr/include/c++/v1/ chown -R root:wheel $(DSTROOT)/usr/include chmod 755 $(DSTROOT)/usr/include/c++/v1 chmod 644 $(DSTROOT)/usr/include/c++/v1/* + chmod 755 $(DSTROOT)/usr/include/c++/v1/ext + chmod 644 $(DSTROOT)/usr/include/c++/v1/ext/* install:: installhdrs $(DESTDIR)